const largestArrangement = arr => +arr.sort((a, b) => +('' + b + '' + a) - +('' + a + '' + b)).join('')